package com.zhousb.deviceManager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhousb.deviceManager.model.entity.CrContract;
import com.zhousb.deviceManager.model.so.ContractPageSo;
import com.zhousb.deviceManager.model.vo.ContractPageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhousb
 * @date 2024/10/23 12:49
 * @description
 */

public interface CrContractMapper extends BaseMapper<CrContract> {
    IPage<ContractPageVo> page(Page<?> page, @Param("so") ContractPageSo so, @Param("keywords") List<String> keywords, @Param("ownUserId")Long ownUserId);
}
